package routers

import (
	"beego_base_demo/controllers"
	"fmt"
	"github.com/astaxie/beego"
)

func init() {

	//就这2个走一下http把 试一下怎么写http
	beego.Router("/register/:acc/:passwd", &controllers.Register{})
	beego.Router("/resetpasswd/:acc/:old/:new", &controllers.Reset{})
	fmt.Println("init")
}
